<div id="container">
    <form id="create-job" action="<?php echo Yii::app()->baseUrl . '/resque/job/default';?>" method="POST">
        <fieldset>
            <legend>Enqueue Job</legend>
            <ul class="item-list">
                <li class="item">
                    <label for="queue-name">Queue Name</label>
                    <input id="queue-name" name="Job[QueueName]"/>
                </li>
                <li class="item">
                    <label for="class-name">Job Class Name</label>
                    <input id="class-name" name="Job[JobClassName]" />
                </li>
                <li class="item">
                    <label for="arguments">Arguments (JSON format)</label>
                    <input id="arguments" name="Job[Arguments]" />
                </li>
                <li class="item">
                    <label for="track-status">Track Status</label>
                    <input type="checkbox" id="track-status" name="Job[TrackStatus]" />
                </li>
            </ul>
            <div class="tip">Delayed options</div>
            <ul class="item-list">
                <li class="item">
                    <label for="delayed-time">Delayed Time</label>
                    <input type="number" min="0" id="delayed-time" name="Job[DelayedTime]"/>
                </li>
                <li class="item">
                    <label for="executed-at">Executed At</label>
                    <input type="datetime-local" id="executed-at" name="Job[ExecutedAt]" />
                </li>
            </ul>
        <input id="request-token" name="Job[RequestToken]" type="hidden" value="<?php echo $requestToken;?>"/>
        <input id="enqueue" type="submit" value="Enqueue"/>
        </fieldset>
    </form>
</div>